package com.itmk.web.exception;

/**
 * @author 山顶洞人郑某
 * @className BusinessExceptionEnum.java
 * @date 2023 12 15
 */

public enum BusinessExceptionEnum {
    SERVER_ERROR(500, "后端接口报错！")
    ;
    private Integer code;
    private String message;
    BusinessExceptionEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
    public Integer getCode() {
        return code;
    }
    public String getMessage() {
        return message;
    }
}
